/**
 * Copyright © 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.sourcerecord.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.jeeplus.core.persistence.Page;
import com.jeeplus.core.service.CrudService;
import com.jeeplus.modules.sourcerecord.entity.SourceRecord;
import com.jeeplus.modules.sourcerecord.mapper.SourceRecordMapper;

/**
 * 车源浏览历史Service
 * @author zhych
 * @version 2021-12-09
 */
@Service
@Transactional(readOnly = true)
public class SourceRecordService extends CrudService<SourceRecordMapper, SourceRecord> {

	public SourceRecord get(String id) {
		return super.get(id);
	}
	
	public List<SourceRecord> findList(SourceRecord sourceRecord) {
		return super.findList(sourceRecord);
	}
	
	public Page<SourceRecord> findPage(Page<SourceRecord> page, SourceRecord sourceRecord) {
		return super.findPage(page, sourceRecord);
	}
	
	@Transactional(readOnly = false)
	public void save(SourceRecord sourceRecord) {
		super.save(sourceRecord);
	}
	
	@Transactional(readOnly = false)
	public void delete(SourceRecord sourceRecord) {
		super.delete(sourceRecord);
	}
	
}